package org.example.exception;

/**
 * 异常基础类
 * @author
 * @date 2021-4-16 11:51
 */
public class BaseException extends RuntimeException {
    protected int code;
    protected String message;

    public BaseException() {
        super();
    }

    public BaseException(int code, String message) {
        super();
        this.code = code;
        this.message = message;
    }

    public BaseException(String message) {
        super(message);
        this.message = message;
    }
}
